From fa327bd3fa7ce73c844bb0ff6d67351c4470f6fd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 28 Jan 2001 13:11:35 +0000 Subject: [PATCH] (isearch-highlight): Don't punt if the display doesn't support colors, since isearch faces are defined for monochrome displays as well. --- lisp/isearch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index ff63d5ab3d0..8a69d51a93b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1744,7 +1744,7 @@ If there is no completion possible, say so and continue searching." (defvar isearch-overlay nil) (defun isearch-highlight (beg end) - (unless (or (null search-highlight) (null (display-color-p))) + (unless (null search-highlight) (cond (isearch-overlay ;; Overlay already exists, just move it. (move-overlay isearch-overlay beg end (current-buffer))) -- 2.30.2